package com.mill.model;

import org.apache.log4j.Logger;

public class Book {
	private static Logger logger = Logger.getLogger(Book.class);
	
	private Integer id;
	private Integer page;
	private String type;
	
	public Book() {
	}
	
	public Book(Integer id, Integer page, String type) {
		super();
		this.id = id;
		this.page = page;
		this.type = type;
	}
	
	public static Logger getLogger() {
		return logger;
	}
	
	public static void setLogger(Logger logger) {
		Book.logger = logger;
	}
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getPage() {
		return page;
	}
	
	public void setPage(Integer page) {
		this.page = page;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	@Override
	public String toString() {
		return "Book [id=" + id + ", page=" + page + ", type=" + type + "]";
	}
	
}
